package com.hrprojectback.service.impl;

import com.hrprojectback.mapper.LoginMapper;
import com.hrprojectback.service.LoginUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginUserServiceImpl implements LoginUserService {

    @Autowired
    private LoginMapper loginMapper;

    @Override
    public Integer loginUser(String username, String password) {
        Integer counts = loginMapper.loginUser(username, password);
        return counts;
    }
}
